const mongoose = require("mongoose");
const mongoUrl = "mongodb://localhost:27017/express-auth";

mongoose.connect(mongoUrl, {
  useCreateIndex: true,
  useNewUrlParser: true,
});

module.exports = mongoose;
